<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<form action="${pageContext.request.contextPath}/salvarAluno?cmd=salvarAluno" method="post">
		<c:if test="${not empty aluno}">
			<input readonly='readonly' name="matricula" value="${aluno.matricula}">
		</c:if>
		
		<table>
			<tr><td>Nome</td><td><input name="nome" value="${aluno.nome}" /></td></tr>
			<tr><td>CPF</td><td><input name="cpf" value="${aluno.cpf}" /></td></tr>
			<tr><td>Endereco</td><td><input name="endereco" value="${aluno.endereco}" /></td></tr>
			<tr><td>Email</td><td><input name="email" value="${aluno.email}" /></td></tr>
			<tr><td>Telefone</td><td><input name="telefone" value="${aluno.telefone}" /></td></tr>
			<tr><td><input type="submit" name="Salvar" /></td><td></td></tr>
		</table>
	</form>

</body>
</html>